//
//  ViewController4.m
//  IOS深入传值
//
//  Created by 江湖 on 2020/6/10.
//  Copyright © 2020 江湖. All rights reserved.
//

#import "ViewController4.h"
#import "View1.h"
#import "AgentDelegate.h"
#import "UIViewController+Agent.h"
@interface ViewController4 ()
@property(nonatomic,strong)View1 *views;
@end

@implementation ViewController4

- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor = [UIColor whiteColor];
    self.views = [[View1 alloc]initWithFrame:CGRectMake(100, 100, 200, 200)];
    [self.view addSubview:self.views];
    // Do any additional setup after loading the view.
}

- (void)agentFunc1{
    NSLog(@"当前控制器中view深入传值");
}
/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
